package nlp;

public interface Document {
	// Get a particular feature by name.
	Feature GetFeature(String name);

	// Get all feature names as a String array.
	String[] GetAllFeatureNames();

	// Get the label for the document.
	String GetLabel();

	// Get serialized feature data.
	String SerializeFeatures();

	// Deserialize the features.
	void Deserialize(String featureString);
}
